function TinyMCECompressed() { this.configs = new Array(); this.loadedFiles = new Array(); this.externalPlugins = new Array(); this.loadAdded = false; this.isLoaded = false; } TinyMCECompressed.prototype.init = function(settings) { var elements = document.getElementsByTagName('script'); var scriptURL = ""; for (var i=0; i'); if (!this.loadAdded) { tinyMCE.addEvent(window, "DOMContentLoaded", TinyMCECompressed.prototype.onLoad); tinyMCE.addEvent(window, "load", TinyMCECompressed.prototype.onLoad); this.loadAdded = true; } } TinyMCECompressed.prototype.onLoad = function() { if (tinyMCE.isLoaded) return true; tinyMCE = realTinyMCE; TinyMCE_Engine.prototype.onLoad(); tinyMCE._addUnloadEvents(); tinyMCE.isLoaded = true; } TinyMCECompressed.prototype.addEvent = function(o, n, h) { if (o.attachEvent) o.attachEvent("on" + n, h); else o.addEventListener(n, h, false); } TinyMCECompressed.prototype.getOnce = function(str) { var ar = str.replace(/\s+/g, '').split(','); for (var i=0; i